package java3_21.MobilePhone;

public  class Phone {
    private String brand;
    private String type;


    public Phone(String brand, String type) {
        this.brand = brand;
        this.type = type;
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public void print(){
        System.out.println("这是一部"+brand+type);
    }


    //打电话功能
     public  void ringUp(){

     };
    //发短信功能
    public  void sendMessage(){

    };
}
